package com.xnchat.pro.vo;

import com.xnchat.pro.dto.Message;
import lombok.Data;

import java.util.List;

@Data
public class ReturnVo {
    private int code;
    private List<Message> data;
    private String msg;
    private int count;

    public ReturnVo(int code, List<Message> date,int count) {
        this.code = code;
        this.count=count;
        this.data=date;
        this.msg="success";

    }
}
